package edu.nwpu.pojo;

public class Manager {

    /**
     * 管理员ID
     */
    private Long id;

    /**
     * 管理员名，限2-12个中文、英文或数字，必须唯一
     * username, limited to 2-12 chinese, english or numbers, must unique
     */
    private String name;

    /**
     * 管理员密码
     * user's password
     */
    private String password;

    /**
     * 管理员电话号码
     * user's phone number
     */
    private String phoneNo;

    public Manager() {
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getPhoneNo() {
        return phoneNo;
    }

    public void setPhoneNo(String phoneNo) {
        this.phoneNo = phoneNo;
    }

    @Override
    public String toString() {
        return "Manager{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", password='" + password + '\'' +
                ", phoneNo='" + phoneNo + '\'' +
                '}';
    }
}
